﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp12
{
    class Cxy : Worker, Writer
    {
        public Cxy()
        {

        }
        public Cxy(string name) : base(name)
        {

        }
        public void Write()
        {
            Console.WriteLine("我是一个程序员{0}，也是一个会写作的作家", this.Name);
        }
    }
   
}
